﻿// Copyright (c) Inossem. All rights reserved.
// Licensed under the LGPL-3.0 license. See LICENSE file in the project root for full license information.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Media.Imaging;

namespace DWF.Studio.Custom
{
    /// <summary>
    /// 静态资源类
    /// </summary>
    internal static class StaticResource
    {
        public const string ProcessGo = "ProcessGo";

        public const string Studio = "Studio";

        public const string WindowTitle = "ProcessGo Plus Studio";

        public const string WindowTitleSeparator = " - ";

        public const string TemporaryFolder = "Temporary";
        #region 工程相关
        public const string OldProjectFile = ".project";
        public const string ProjectFile = ".pgo";
        public const string ProcessFile = ".process";
        public const string ProcessExe = ".exe";
        public const string ProjectStart = "main.xaml";
        public const string ProjectSelfDependOn = "dependencies";
        public const string ProjectSelfFile = "file";
        public const string ProjectSelfLibs = "libs";
        public const string ProjectSelfImages = "images";
        public const string ProjectSelfRes = "res";
        public const string XamlFileTemplateSequence_vb = @"FileTemplate\Sequence.xaml";
        public const string XamlFileTemplateFlowchart_vb = @"FileTemplate\Flowchart.xaml";
        public const string XamlFileTemplateSequence_cs = @"FileTemplate\Sequence_cs.xaml";
        public const string XamlFileTemplateFlowchart_cs = @"FileTemplate\Flowchart_cs.xaml";
        public const string TargetPlatform_x86 = "x86";
        public const string TargetPlatform_x64 = "x64";
        public const string WorkflowLanguage_vb = "Vb";
        public const string WorkflowLanguage_cs = "Cs";

        public const string XamlExtension = ".xaml";

        public const string PngExtension = ".png";
        public const string JpgExtension = ".jpg";
        public const string JpegExtension = ".jpeg";

        #endregion

        #region 活动库相关
        public const string Activities = "activities";
        public const string Packages = "packages";
        public const string ActivitiesLib = "lib";
        public const string TargetFramework = "net461";
        public const string HelpDocumnet = "HelpDocumnet";
        public const string Examples = "Examples";
        public const string ProjectSetting = "settings.yml";
        public const string ProjectParams = "params.yml";
        #endregion
        public const string Logs = "Logs";

        #region 插件相关
        public const string Plugins = @"plugins";
        #endregion

        #region 片段相关
        public const string Snippets = @"snippets";
        #endregion

        public const string SysConfig = @"studio.config";

        public const string Upgrade = @"Upgrade";

        public const string ProjectRecord = @"projectrecord.yml";

        public static BitmapImage DefaultNugetImage = new BitmapImage(new Uri("/Resources/packagegrey.png", UriKind.Relative));

        #region 活动通知
        ///// <summary>
        ///// 测试通知
        ///// </summary>
        //public const string NOTICE_TEST = "NOTICE_TEST";

        /// <summary>
        /// 刷新image文件夹
        /// </summary>
        public const string NOTICE_REFRESH_IMAGE = "NOTICE_REFRESH_IMAGE";

        /// <summary>
        /// 刷新res文件夹
        /// </summary>
        public const string NOTICE_REFRESH_RES = "NOTICE_REFRESH_RES";

        /// <summary>
        /// 主窗体最小化
        /// </summary>
        public const string NOTICE_MAINWIN_MIX = "NOTICE_MAINWIN_MIX";

        /// <summary>
        /// 主窗体最大化
        /// </summary>
        public const string NOTICE_MAINWIN_MAX = "NOTICE_MAINWIN_MAX";

        /// <summary>
        /// 主窗体激活
        /// </summary>
        public const string NOTICE_MAINWIN_ACTIVATE = "NOTICE_MAINWIN_ACTIVATE";

        /// <summary>
        /// 打开脚本
        /// </summary>
        public const string NOTICE_OPEN_SCRIPT = "NOTICE_OPEN_SCRIPT";

        #endregion

    }
}
